/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package log4j;

import org.apache.log4j.*;

/**
 *
 * @author User
 */
public class LogClass {
    private static org.apache.log4j.Logger log=Logger.getLogger(LogClass.class);
    
    public static void main(String[] args) {
        PropertyConfigurator.configure(LogClass.class.getClassLoader().getResource("log4j/log4j.properties"));
        for(int i=0;i<200;i++) {
            log.trace("Trace");
            log.debug("Debug");
            log.info("Info");
            log.warn("Warn");
            log.error("Error");
            log.fatal("Fatal");
        }
        new NewClass(log);
    }
}